﻿<%@ Page Language="C#" MasterPageFile="~/Members/Members.master" AutoEventWireup="true"
    CodeFile="thay-doi-mat-khau.aspx.cs" Inherits="Members_thay_doi_mat_khau" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h2>
        Thay đổi mật khẩu</h2>

    <script type="text/javascript">
        $(document).ready(function() {
            $("input").focus(function() {
                $(this)
					.parent()
						.addClass("curFocus")
					.children("div")
						.toggle();
            });
            $("input").blur(function() {
                $(this)
					.parent()
						.removeClass("curFocus")
					.children("div")
						.toggle();
            });

            $('<div class="tl"></div><div class="tr"></div><div class="bl"></div><div class="br"></div>').appendTo("div.single-field");
        });
		
    </script>

    <form>
    <asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label>
    <div class="single-field">
        <label for="Pass">
            Nhập mật khẩu cũ :</label>
        <%-- <input name="Pass" type="text"></input>--%>
        <asp:TextBox MaxLength="30" TextMode="Password" size="30" ID="txtOldPassword" runat="server"
            class="required"></asp:TextBox>
    </div>
    <div class="single-field">
        <label for="RePass">
            Nhập mật khẩu mới :</label>
        <%--<input name="RePass" type="text"></input>--%>
        <asp:TextBox MaxLength="30" TextMode="Password" size="30" ID="txtNewPassword" runat="server"
            class="required"></asp:TextBox>
    </div>
    <div class="single-field">
        <label for="RePass2">
            Xác nhận lại mật khẩu mới :</label>
        <%--<input name="RePass2" type="text"></input>--%>
        <asp:TextBox MaxLength="30" TextMode="Password" size="30" ID="txtReNewPassword" runat="server"
            class="required"></asp:TextBox>
    </div>
    <div>
        <asp:Button ID="btnSavePass" runat="server" Text="Save" class="button" OnClick="btnSavePass_Click" />
        <asp:Button ID="btnClearPass" runat="server" Text="Clear" class="button" OnClick="btnClearPass_Click" />
    </div>
    <div class="tl-line">
    </div>
    <div class="tr-line">
    </div>
    <div class="bl-line">
    </div>
    <div class="br-line">
    </div>
    </form>
</asp:Content>
